TextEdit and Standard Macintosh Features
Because TextEdit routines follow the Macintosh user interface guidelines, using them ensures the presentation of a consistent user interface in your application. Your application can rely on TextEdit to support these standard features instead of having to implement them directly:
- selecting text by clicking and dragging with the mouse
- double-clicking to select words, which are defined according to the rules of the script system in which they are written
- line breaking, which prevents a word from being split inappropriately between lines when text is drawn
- extending or shortening a selection range by Shift-clicking
- highlighting of the current text selection, or display of a blinking vertical bar at an insertion point
- cutting, copying, and pasting within and between applications
- the use of more than one font, size, color, and stylistic variation from character to character within a single block of text
- display of text in more than one language on a single line